package com.ykt.model;


import java.util.List;

public class BaseData extends BaseModel<BaseData> {
    private static final long serialVersionUID = -3857562245294137140L;

    public static final BaseData dao = new BaseData();

    public static final String code = "code";
    public static final String type = "type";
    public static final String summary = "summary";


    public enum DataType {

        DELIVERY_TIME,// 派送时间段

    }


    public List<BaseData> findByType(String dataType){
        String sql = "select * from base_data where type=?";

        return find(sql, dataType);
    }

}
